package com.example.mqttclient.protocol;

public class PumpMessage extends BaseMessage {
    public boolean value;
    public PumpMessage(boolean value) {
        this.value = value;
        // 可以为抽水机定义一个新的类型索引，例如 6
        this.type = Type.PUMP.index;
    }
}
